package com.bigdata.movieticketapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author movie
 * @since 2023-11-08
 */
@Data
@TableName("movie_order")
@ApiModel(value = "MovieOrder对象", description = "")
public class MovieOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("电影场次")
    private Integer movieSession;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("是否取消")
    private Integer isCancel;

    @ApiModelProperty("是否完成")
    private Integer isComplete;

    @ApiModelProperty("价钱")
    private BigDecimal price;
}
